package com.loop.arr;

import java.util.Arrays;

public class ArraysDemo {
    public static void main(String[] args) {
        int[] arr = {14,43,53,51,51};
        Arrays.sort(arr);
        System.out.println( Arrays.toString(arr));
        System.out.println(Arrays.binarySearch(arr,430));;
    }
}
